import jade.Boot;


public class Initiator {



	public static void main(String[] args) {


		String[] param = new String[2];
		//param[0] = "-gui";
		param[0] = "-local-port 1099";

		//param[1] = "myConsole:jade.tools.rma.rma";
		new Thread() {
			public void run() {
				String[] param2 = new String[2];
				param2[0] = "-local-port 1099";

				param2[1] = "myConsole:jade.tools.rma.rma";
				Boot.main(param2);

			}

		}.start();


		new Thread() {
			public void run() {
				
					String[] param = new String[3];

					param[0] = "-local-port 1099";
					param[1] = "-host localhost";
					param[2] = "AgenteConfig:AgentesConfig.AgenteInit";

				try {	
					Boot.main(param);

				} catch (Exception e) {

				}

			}

		}.start();





		//		//METODO DE INICIALIZACAO 2
		//		String[] param3 = new String[2];
		//		param3[0] = "-gui";
		//		param3[1] = "AgenteConfig:AgentesConfig.AgenteInit";
		//		
		//		Boot.main(param3);
		//		
		//		param[1] = "AgenteConfig:AgentesConfig.AgenteInit";
		//		Boot.main(param);
		//		
		//		//System.out.print("Finit");

	}


}
